package com.geeyuu.android.service;

public class DataKey {
    
    public static final int RESULT_CODE_OK = 0;
    public static final int RESULT_CODE_ERROR = 1;
    /**
     * activity根据这个标志判断这条消息是否是完全正常的
     */
    public static final String R_KEY_REGISTER_RESULT_CODE = "r_key_register_result_code";
    
    //S开头代表Activity发送给Service的key, R反之
    //S的VALUE全部为String类型
    
    //================================注册========================================
    public static final String S_KEY_REGISTER_ACCOUNT = "s_key_register_account";
    public static final String S_KEY_REGISTER_PASSWORD = "s_key_register_password";
    
    public static final String S_KEY_IS_GUEST = "s_key_is_guest";
    public static final String S_VALUE_REGISTER_IS_NOT_GUEST = "0";
    public static final String S_VALUE_REGISTER_IS_GUEST = "1";
    
    public static final String R_KEY_REGISTER_ACCOUNT_EXIST = "r_key_register_account_exist";
    public static final int R_VALUE_REGISTER_ACCOUNT_EXIST = 1;
    
    //==================================登录============================================
    public static final String S_KEY_LOGIN_TYPE = "s_key_login_type";
    public static final String S_VALUE_LOGIN_TYPE_NORMAL = "0";
    public static final String S_VALUE_LOGIN_TYPE_RECONNECT = "1";
    
    public static final String S_KEY_LOGIN_ACCOUNT = "s_key_login_account";
    public static final String S_KEY_LOGIN_PASSWORD = "s_key_login_password";
    
    //==================================修改密码============================================
    public static final String S_KEY_MODIFY_PSD_PSD = "s_key_modify_psd_psd";

    //==================================设置本人资料============================================
    public static final String S_KEY_USERINFO_NICKNAME = "s_key_userinfo_nickname";
    public static final String S_KEY_USERINFO_AGE = "s_key_userinfo_age";
    public static final String S_KEY_USERINFO_HEIGHT = "s_key_userinfo_height";
    public static final String S_KEY_USERINFO_WEIGHT = "s_key_userinfo_weight";
    public static final String S_KEY_USERINFO_ROLE = "s_key_userinfo_role";
    public static final String S_KEY_USERINFO_SIGN = "s_key_userinfo_sign";
    public static final String S_KEY_USERINFO_MAIN_PHOTO_ID = "s_key_main_photo_id";
    
    //==================================拉取周边好友============================================
    public static final String S_KEY_LON_AND_LAT = "s_key_lon_and_lat";
    public static final String S_KEY_ORDER_BY = "s_key_order_by";
    public static final String S_KEY_ROLE_FILTER = "s_key_role_filter";
    public static final String S_KEY_ONLINE_FILTER = "s_key_online_filter";
    public static final String S_KEY_PAGE_INDEX = "s_key_page_index";
    
    public static final String S_VALUE_ORDER_BY_DISTANCE = "1";
    public static final String S_VALUE_ORDER_BY_POPULARITY = "2";
    
    public static final String S_VALUE_ROLE_ALL = "1";
    public static final String S_VALUE_ROLE_1 = "2";
    public static final String S_VALUE_ROLE_0 = "3";
    public static final String S_VALUE_ROLE_05 = "4";
    
    public static final String S_VALUE_NOT_JUST_ON_LINE = "0";
    public static final String S_VALUE_JUST_ON_LINE = "1";
    
    //==========================查询用户信息============================
    public static final String S_KEY_QUERY_USER_INFO_UID = "s_key_query_user_info_uid";
    
    //==========================查询用户相册============================
    public static final String S_KEY_USER_PHOTO_QUERY_UID = "s_key_user_photo_query_uid";
    public static final String S_KEY_USER_PHOTO_QUERY_PAGE_INDEX = "s_key_user_photo_query_page_index";
    public static final String S_KEY_USER_PHOTO_QUERY_TYPE = "s_key_user_photo_query_type";
    
    public static final String S_VALUE_USER_PHOTO_TYPE_PUBLIC = "1";
    public static final String S_VALUE_USER_PHOTO_TYPE_PRIVATE = "2";
    
    //=============================添加删除相片===============================
    public static final String S_KEY_PHOTO_TYPE = "s_key_photo_type";
    public static final String S_KEY_PHOTO_ACTION = "s_key_photo_action";
    public static final String S_KEY_PHOTO_ID = "s_key_photo_id";
    
    public static final String S_VALUE_ACTION_ADD = "1";
    public static final String S_VALUE_ACTION_DELETE = "2";
    
}
